package net.zhengxinyun.performance.App.service.cityIndex;

import net.zhengxinyun.performance.App.dto.ScoreDTO;
import net.zhengxinyun.performance.App.dto.report.ReportDTO;
import net.zhengxinyun.performance.entity.UserEntity;
import net.zhengxinyun.performance.filter.CountryIndicatorsFilter;

import java.util.List;

public interface CityIndexService {

    // 根据年份获取指标
    List<CountryIndicatorsFilter> getAllCityIndex(CountryIndicatorsFilter filter);

   // 查询指标分数
   List<CountryIndicatorsFilter> getIndexScore(CountryIndicatorsFilter filter, UserEntity entity);

    List<ScoreDTO>  getYearCityIndex(Long indexId,String currentYear);

    //保存指标的
    int saveReport(ReportDTO dto);

    List<ReportDTO> getReports(ReportDTO dto);

    int delReport(Long id);

    int delTownReport(int indexClass,String datetime );

    int updateReport(ReportDTO dto);



}
